#include <QApplication>
#include "GraphicsEngine.h"
#include "GameEngine.h"
#include "AIEngine.h"

#include <ctime>
#include <cstdlib>
#include <iostream>
using namespace std;

int main( int argc, char *argv[])
{
	srand( time(NULL) );
	
    QApplication app(argc, argv);

	GameEngine *ge = new GameEngine();
    GraphicsEngine *gfxe = new GraphicsEngine();
    AIEngine *ai = new AIEngine();

    gfxe->initialization( ge );
    ai->connecting( ge );

    gfxe->show();

    return app.exec();
}
